<template>
  <div>
    index<br />
    <button @click="router.push('/about')">to about</button><br>
    <button @click="toMulti">进入多页面</button>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";
const router = useRouter();

const toMulti = () => {
  window.location.href += 'multi/index.html'
}
</script>

<style lang="scss" scoped></style>
